Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to the new language file parser (since Joomla 4.4.1/5.0.1) #245

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

dryabov
Copy link
Collaborator

@dryabov dryabov commented Jan 8, 2024

Joomla 4.4.1/5.0.1 changed the algorithm for parsing language files (from "normal" ini parser mode to "raw" mode), as a result backward compatibility was broken, because now it is no longer possible to use the \ character (and in some cases $) in language files, because in previous versions they had to be escaped, but now they are not, and there is no way to use \ in a way that simultaneously supports old and new versions of Joomla.
Since the patch joomla/joomla-cms#42463 that restores the old behavior (while completely eliminating the vulnerability that the 4.4.1/5.0.1 patch was trying to fix) is rejected, the language string validation in JEDChecker is changed accordingly to detect language strings that are not supported by the new format.

@dryabov dryabov merged commit b1bc53e into joomla-extensions:develop Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant